<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
<?php
if(isset($list)){
    echo "<ul>";
    foreach($list as $item){
        $id = $item['id'];
        $name = $item['name'];
        echo "
        <li>$name</li>
        ";
    }
    echo "</ul>";
}
?>
    <form action="" method="post">
        <label>Tên diễn viên:</label> <input type="text" name="name" /><br>
        <input type="submit" name="new-submit" value="Thêm mới" />
    </form>
</body>
</html>